package com.hrms.hrms_employee.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hrms.common.vo.ResultMessage;
import com.hrms.hrms_employee.entity.StaffDetail;
import com.hrms.hrms_employee.vo.CheckVO;
import com.hrms.hrms_employee.vo.StaffDetailAttachmentVO;
import com.hrms.hrms_employee.vo.staffDetailVO;
import org.springframework.web.multipart.MultipartFile;

import java.text.ParseException;
import java.util.List;
import java.util.Map;

/**
 * 员工个人信息表(StaffDetail)表服务接口
 *
 * @author makejava
 * @since 2025-01-17 17:14:23
 */
public interface StaffDetailService extends IService<StaffDetail> {

    staffDetailVO SelectStaffDetail(Long id);

    boolean saveDetailAndStartFlow(Map<String, String> map, MultipartFile photo, MultipartFile contractFile, List<StaffDetailAttachmentVO> attachments);

    ResultMessage updateDetails(String id) throws Exception;

    void check(CheckVO checkVO) throws ParseException;

    List<CheckVO> checklist();
}

